
import 'package:json_annotation/json_annotation.dart';

part 'video.g.dart';

@JsonSerializable()
class VideoModel {
  String? cover;
  String? url;

  VideoModel({this.cover, this.url});

  factory VideoModel.fromJson(Map<String,dynamic> json) => _$VideoModelFromJson(json);

  Map<String, dynamic> toJson() => _$VideoModelToJson(this);
}